package com.zust.data.dto;

/**
 * Created by liy on 2017/1/4.
 */
public class ResponseDto<T> {

    private boolean suc;

    private String msg;

    private T data;

    public ResponseDto() {
    }

    public ResponseDto(boolean suc) {
        this.suc = suc;
    }

    public ResponseDto(boolean suc, T data) {
        this.suc = suc;
        this.data = data;
    }

    public ResponseDto(boolean suc, String msg) {
        this.suc = suc;
        this.msg = msg;
    }

    public ResponseDto(boolean suc, String msg, T data) {
        this.suc = suc;
        this.msg = msg;
        this.data = data;
    }

    public boolean isSuc() {
        return suc;
    }

    public void setSuc(boolean suc) {
        this.suc = suc;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
